package com.t194.mapper;

import com.t194.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper {
    List<Permission> findByParentId(@Param("parentId")Integer parentId);
    int count(Integer parentId);
    List<String> findPermCode(String userCode);
}
